package net.srcz.jsjvm.web;

import org.mortbay.jetty.Server;
import org.mortbay.jetty.servlet.Context;
import org.mortbay.jetty.servlet.ServletHolder;

public class Main {

	public static void main(String[] args) {
		try {
			Server server = new Server(8084);
			Context root = new Context(server,"/",Context.SESSIONS);
			root.addServlet(new ServletHolder(new ClassTranslationServlet()), "/*");
			server.start();
		} catch(Exception ex) {
			ex.printStackTrace();
		}
	}
	
}
